from __future__ import absolute_import
import os 
from celery import Celery

os.environ.setdefault('DJANGO_SETTINGS_MODULE','love.settings')

app=Celery('love')


class Config(object):
    BROKER_URL = 'redis://47.97.218.145:6379'
    CELERY_RESULT_BACKEND = 'redis://47.97.218.145:6379'

app.config_from_objects(Config)
app.autodiscover_tasks()
    